<script type="text/javascript">
    $(document).ready(loadCMSTable);
</script>
<div id="dt_example">
    <div id="container">
        <div id="demo"
             <div style="font-size: 15px;font-style: oblique;font-weight: bold;margin-bottom: 10px;">Sponsor Table</div>
            <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Company | Organization</th>
                        <th>Title</th>
                        <th>Email Address</th>
                        <th>Mobile</th>
                        <th>View More</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    foreach($datas as $data){
                    echo"<tr>";
                        echo "<td>{$data->name}</td>";
                        echo "<td>{$data->company}</td>";
                        echo "<td>{$data->title}</td>";
                        echo "<td>{$data->email}</td>";
                        echo "<td>{$data->mobile}</td>";
                        echo "<td><a href ='#' onclick='load_link(\"index.php?page=sponsor&action=viewMore&id={$data->id}\")'>View More</a></td>";
                    echo"</tr>";
                    }
                    ?>
                </tbody>
            </table>
        </div>
    </div>
</div>